export const rolePoints = {
    // 混入方法
    methods: {
        checkPoint(key) {
            if (this.$store.state.user.userInfo.roles && this.$store.state.user.userInfo.roles.points) {
                return this.$store.state.user.userInfo.roles.points.includes(key)
            }
            return false
        }
    }
}